package icrts;

import javax.swing.*;
import icrts.display.*;
import icrts.universe.Universe;

class ApplicationFrame{
	
	public static void main(String args[]){
            SwingUtilities.invokeLater(new Runnable(){
                public void run(){
                    createAndShowGui();
		}
            });
	}

	private static void createAndShowGui(){
            JFrame mainFrame = new JFrame("Mighty Dragon");
            mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
//          mainFrame.setSize(250,250);
            MapPanel gameMap = new MapPanel();
            mainFrame.add(gameMap);
            GameManager.add(gameMap);
            mainFrame.pack();
            Universe.getInstance().bigBang();
            mainFrame.setVisible(true);
	}

}


